<%--
  Created by IntelliJ IDEA.
  User: Kohler
  Date: 2022/11/9
  Time: 14:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>管理员登录</title>
    <script src="js/function.js"></script>
    <script src="js/Calendar.js"></script>
    <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
    <link rel="stylesheet" type="text/css" href="css/adminLogin.css"/>
</head>
<body>
<form action="http://localhost:8080/Library/adminLoginServlet" method="post">
<div id="login_box">
    <h2>管理员登录</h2>
    <div id="input_box">
       <p>
           账号：<input type="text"  name="name" placeholder="请输入账号" ">
           <span class="error" id="nameError"></span>
       </p>
    </div>
    <div class="input_box">
        <p>
            密码：<input type="password"  name="pwd" placeholder="请输入密码">
            <span class="error" id="pwdErdror"></span>
        </p>
    </div>
    <div class="input_box">
        <p>
<%--            <input type="text"onfocus="FcousItem(this)" onblur="CheckItem(this)" name="captcha" placeholder="请输入验证码">--%>
            <span id="captcha" onclick="getCaptcha()"></span>
            <span class="error" id="captchaErr"></span>
        </p>
    </div>
<%--    <br/><img alt="看不清楚？点击刷新" id="imagecode" src="<%= request.getContextPath()%>/imageGenerate" onclick="reloadCode();" width="150" height="50"/>--%>
<%--    <br/><a href="javascript:reloadCode();">看不清楚</a><br/>--%>
    <input type="submit" class="aaa" value="登录"><br>
</div>
</form>
</body>
</html>
